package com.dc.business.datacollectbusiness.service;

import com.dc.business.datacollectbusiness.entity.Factories;

import java.util.List;

public interface FactoriesService {
    /**
     * 查询公司下的厂区
     */
    public List<Factories> getAllFactoriesByCompanyId(Integer companyId);

    /**
     * 删除厂区
     */
    public boolean deleteFactoriesById(int factoryId);
    /**
     * 添加厂区
     */
    public boolean insertFactories(Factories factories);
    /**
     * 修改厂区
     */
    public boolean updateFactories(Factories factories);
}
